package com.chdwmp.product.constant;


public class CommonConstants {

    public static final String PASSWORD_SALT = "7b844b5e";

    public static final String TOKEN = "TOKEN";
    public static final String APITOKEN = "APITOKEN";

    public static final String SMALL_LIQUORICE_USER_VIP_BUY = "SMALL_LIQUORICE_USER_VIP_BUY";
    public static final String SMALL_LIQUORICE_USER_VIP_BUY_SAVE = "SMALL_LIQUORICE_USER_VIP_BUY_SAVE";
    public static final String SMALL_LIQUORICE_USER_VIP_BUY_LOCK = "SMALL_LIQUORICE_USER_VIP_BUY_LOCK";

    public static final class LoginWay {
        public static final int USER_ACCOUNT_LOGIN = 1;//登录方式 账号登录
        public static final int USER_PHONE_LOGIN = 2;//验证码登录
    }

    public static final class QcUrl {
        public static final String testUrl = "https://small-liquorice-test.vongihealth.com/pay/home";//测试地址
        public static final String prodUrl = "https://small-liquorice.vongihealth.com/pay/home";//正式地址
    }

    public static final class USER_TYPE{
        public static final Integer PATIENT = 1;
        public static final Integer DOCTOR = 2;
        public static final Integer ASSISTANT = 3;
    }

    public static final int PAGE_SIZE = 20;

    public static final class VIP_TYPE {
        public static final Integer NO = 0;// 不是vip
        public static final Integer YES = 1;// 是vip
    }

    /**********************************************************************************
     * Boolean类型的整数状态
     **********************************************************************************/
    public static final class BooleanStatus {
        public static final Integer NO = 0;// 否
        public static final Integer YES = 1;// 是
    }

    /**********************************************************************************
     * 时间戳常量
     **********************************************************************************/
    public static final class TimeStamp {
        public static final int SECONDS = 3600;// 每小时秒数
        public static final int MINUTES = 60;// 每小时分钟数、每分钟秒数
        public static final int HOURS = 24; // 每日小时数
        public static final int WEEKS = 7;// 每周天数
        public static final int MILLISECONDS = 1000;// 每秒毫秒数
    }

    public static final String TITLE = "职称";
    public static final String DEPARTMENT = "科室";

    /**
     * 极光推送用到的appkey
     */
//    public static final String DOCTOR_APP_KEY = "6505ec18d80d51f9fb8e24a6";
//    public static final String DOCTOR_MASTER_SECRET = "c5f293be3aa781a1ddd0ed5c";

    public static final String PATIENT_APP_KEY="4d54ad3ad7af972468b27a94";
    public static final String PATIENT_MASTER_SECRET = "6d01f8ecfc5c43137d11eeaf";

    /**
     * 医生推送类型 1:医生临时通知(推送至患者端) 2：医生诊疗建议(推送至患者端) 3：服药提醒 (定时任务)
     */
    public static final Integer JPUSH_FORWARD_TYPE_YYTX = 1;
    public static final Integer JPUSH_FORWARD_TYPE_ZLJY = 2;
    public static final Integer JPUSH_FORWARD_TYPE_FYTX = 3;

    /**
     * 推送端口 1：患者端
     */
    public static final Integer YY_PUSH_TYPE = 1;

    public static final String nextLine = "\n";

    public static final String OTHER_CN = "其他";


}
